package com.xuanmiao.smsback.dao.mapper.sms;

import com.xuanmiao.smsback.dao.model.sms.MessageSendRecordDO;
import com.xuanmiao.smsback.domain.qo.MessageSendRecordQO;

import java.util.Date;
import java.util.List;

public interface MessageSendRecordMapper {
    int deleteByPrimaryKey(Long id);

    int insert(MessageSendRecordDO record);

    int insertSelective(MessageSendRecordDO record);

    MessageSendRecordDO selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(MessageSendRecordDO record);

    int updateByPrimaryKey(MessageSendRecordDO record);

    List<MessageSendRecordDO> queryByQO(MessageSendRecordQO messageSendRecordQO);

    Date selectLastDate(Integer queueId);
}